﻿define(function (require) {
    var service = require('utility/service');

    window.Contact = Backbone.Model.extend({
        initialize: function () {
            //todo:user head icon url
            //this.set({ "Icon": "/core/headicon/{userId}".replace("{userId}", this.get('Id')) });
            this.set({ "Icon": "../images/Messages.png" });
            this.set({ "IsChoosed": false });
        },
        choose: function () {
            this.set({ "IsChoosed": true });
        },
        unChoose: function () {
            this.set({ "IsChoosed": false });
        }
    });

});
